package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SnmpGroupdeviceMapper;
import com.ruoyi.system.domain.SnmpGroupdevice;
import com.ruoyi.system.service.ISnmpGroupdeviceService;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author ruoyi
 * @date 2025-02-05
 */
@Service
public class SnmpGroupdeviceServiceImpl implements ISnmpGroupdeviceService
{
    @Autowired
    private SnmpGroupdeviceMapper snmpGroupdeviceMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public SnmpGroupdevice selectSnmpGroupdeviceById(Long id)
    {
        return snmpGroupdeviceMapper.selectSnmpGroupdeviceById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param snmpGroupdevice 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<SnmpGroupdevice> selectSnmpGroupdeviceList(SnmpGroupdevice snmpGroupdevice)
    {
        return snmpGroupdeviceMapper.selectSnmpGroupdeviceList(snmpGroupdevice);
    }
    @Override
    public List<SnmpGroupdevice> getAllGroupDevice(SnmpGroupdevice snmpGroupdevice)
    {
        return snmpGroupdeviceMapper.getAll(snmpGroupdevice);
    }
    /**
     * 新增【请填写功能名称】
     *
     * @param snmpGroupdevice 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertSnmpGroupdevice(SnmpGroupdevice snmpGroupdevice)
    {
        return snmpGroupdeviceMapper.insertSnmpGroupdevice(snmpGroupdevice);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param snmpGroupdevice 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateSnmpGroupdevice(SnmpGroupdevice snmpGroupdevice)
    {
        return snmpGroupdeviceMapper.updateSnmpGroupdevice(snmpGroupdevice);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSnmpGroupdeviceByIds(Long[] ids)
    {
        return snmpGroupdeviceMapper.deleteSnmpGroupdeviceByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSnmpGroupdeviceById(Long id)
    {
        return snmpGroupdeviceMapper.deleteSnmpGroupdeviceById(id);
    }
}
